Adding gitignores, fixing while test