Fixed Memory Test
Changed all read functions from read string to read bytes