fixing up the selenium tests a bit