Add unit tests for Swipe control