Fixes for browser tests