Add tests for wrap pen management.
Better clamp and wrap variable names.
Merge pull request #8 from OddBloke/test_fixes

Tests and variable names