run tests as rake task