Testing binary IO with String