Fix incorrect path to tests files and correctly ignore files