Lint
Move all forward decl of unit tests to internal ds, friend class all test cases (for clean up)
Add mocks for resources KeyValuePairs
Add some operations involving resources into API tests