fixed #8 inverse test.