improved Relative class for REST test cases