Add missing test coverage