[coverage] Added unit tests