Added unit test for role entity