Remove duplication from browser tests
Merge pull request #36 from jliuhtonen/master

Remove duplication from browser tests