tests for anchor clicking