Shorter test for relative_from