Added unit test for that method