REST: Fixed tests.