Adding a test to check direction="alternate".
Merge pull request #240 from mithro/test-alternate

Adding a test to check direction="alternate".