fix for broken unit test, and add two more unit tests for tap event