Finished porting tests to browser