added unit tests for reveal card functionality