parsing repo from json
improved test