Added test coverage for Overlay class