Loosen tolerances in identity tests

Fixes issue #5.