updated file adaptor tests and examples