added test to CardViewController