updated selenium tests to work with python 3.4

fixes #227