fix fetcher, put fetching test in main