changed test to make it pass phantomjs