wrote failing tests for loading cards