added tmp to git ignore
created working tests