Added more test cases to invoke and invoke.card