Cleaned up selenium tests a little.