Testing Ajax Apps with JUnit