More file related tests