unit test: Add tests for getting raw instruction data