cards_helper tests refined to use MockAppWindow