Specflow tests for leavecard