(fix) tests now work with PhantomJS useragent