implement browser tests

closes #16