Add a test for the new precision validation.