Move testing code from __main__.y to make.py