mocha tests pass on phantoms and replace previous karma tests