Added test for file extension