Added unit test to test author service