Fix failures in existing tests.
Disable tests that are failing in ref code. ref code is deprecated and will be deleted soon