simplified Card tests
improved docstrings