Handles more rank cases, tests relation values returned