introduced code coverage and added test