Fix empty folder test cases