Add type identification for straight and corresponding test
Add 'tmp/' to .gitignore