FIX: Moved tests in main to tests.py