Add unit test for the case for handing unhandled extension