some fragile tests with jasmine jquery