Rich Javascript Integration Testing