directive for testacular unit test with phantomjs