make karma exit by default after running tests
add time functions