Adds horizontal and vertical alignement support.
Adds alignement tests.