Add namespace to Resource object
Add mock for Search