Fix other tests.
Fix test case.
Another test.
More tests.
Another test.
Another test.
Refactor, also test lprs and uprs.