Implementing ToshlResourceOwner and its test case