Adapted tests to the new API
Adapted tests to the new API
Disabled tests for restrictedResource until we port it to nginx