add .gitignore
update xray and fix the tests