fixed errors in roundtrip check. Two ignored tests to be investigated.