More comprehensive tests for Pathname extension