Implemented missing test for 100% code coverage