jsdom tests - not working
phantomjs test