Add some tests for file listing