Close #307.
Merge pull request #309 from mageekguy/#307

Close #307, thanks to @geraldcroes for the bug report.
Tests are now instanciated using a factory (closure)
Merge pull request #310 from jubianchi/runner-test-factory

Add a test factory to atom's runner, thanks to @jubianchi.