More tests. Simplify browser message parser