Extract out tests into shared example spec
Update gitignore
Add support for directions