@Test
	public void testLoadMemory() {
		Data[] testArray = new Data[2];
		testArray[0] = testInstr;
		Instruction testInstr2 = new BranchInstr(Opcode.BRZ, 5);
		testArray[1] = testInstr2;
		
		memory.loadMemory(testArray);
		
		for (int i = 0; i < 2; i++) {
			assertEquals(testArray[i], memory.accessAddress(i));
		}
		
	}