add test for unvalid extension