added tests for click data functionality