Added test method doesReturn in Instruction to check whether instruction
for a specific opcode does return.

Signed-off-by: Jakob Brandsborg Ehmsen <jakobehmsen.github@gmail.com>