Fixed a bug in the test regarding printing of empty list. It failed because the mock output file did not exist in the first place, and I had forgotten to fix and uncomment the test.