Add tests for RegNumToIntCode method