fix Typo for directionDefinttions
Define testsuite for swipe directive
add more swipe test for different directions