Added test for sequence of operand types in compilation logic for
primitives.

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