Added test to check the case of wrong extension names