Added browser support for tests. Changed test to use expect instead of assert