Cover implementation with unit tests