file resource tests