Additional tests for coverage of declared errors
Added additional test to improve coverage