Add test for getting content from file