Add tests for is_element_visible