RFPL-2976: ported tests fixed

* some of the tests had problems with firefox, rewritten to run on it as
  well