added unit tests for guest access confirmation