Code Cleanup
Added top-level test runner/wrapper (tests.main)