tests for access