preventDefault working - All tests are passing