fixed card and component tests