Completed some karma [browser] tests and wrote test suite that runs node and browser tests with the same params.