Moving some of testing into test.coffee