Updating test cases for createEntity and createGroup