Added test_write_points_bad_precision