Hardcoded a return value in getInstructionType to return the value
expected by the test
Added a new test for instruction messages having different instruction
types
Fixed failing test by utilising the setter method and returning the
instance variable set by this method