remove tree test code from core/dev