Added tests for globals.
Deleted run_tests.
Modified to directly run tests from tests/ folder