first tests and local file impl