Testing preventDefault settings