add one unit test for myresource