test_diric() added to test values near 2*pi