add tests for the 'visibility' property