Better functions to run tests and code