making browser tests work properly