Adding missing test to obtain 100% code coverage