Browser test suite & fixes