adding tests for preventing default and stopping propagation