Working on the unit tests for the file encoder/decoder