bump selenium version, refactor the test base a bit