Fixed more REST test cases.