Test position alignment

Fixes #157.