Don't 'cd' into the card-functionality directory to run tests ('cd'-ing broke the caching mechanism). Adjust test configurations accordingly.