Fixed browser(phatomjs) tests