Format test code
Add test for `RemoveStarFromRepo` method