reduced test cases, better expected disatnace error calculation