move some testing to unit tests

acceptance test opens browser passed to run_tests.py