reorganized test.py file into a testing suite found in /tests to be run with run_tests.py