add parameter reload - if it's not None - before each test page will be reloaded