precision and tests fixed