Adds browser tests.
Includes script for compiling tests for browser.