Implement helper for running mochitests