removing test code from dev.py