Added unit and integ tests for SetupResource