test path extname