Add tests for local file insert