started cleaning up the code API
Fixed api_test compile errors
Fixed the master tests
Fixed the tests. Now passing!
removed sleeps from every and after funcs
made tests fast again