Replaced the other stupid tests with tests based on selenium which rocks btw.