Add a test case for InstructionCollection