Implement group ownership model. Write test for group ownership model