fix error message when extension does not exist
add missing scenario