Added orientation test
Merge branch 'master' into gh-pages