switching some tests from SameBytes() to DeepEquals