Changed browser asserts to use PHPUnit asserts