Added UninviteUser test cases and a few helper methods to test parent