Loosen restrictions on relative dates, add tests.