Add clamp tests.
Slightly clearer variable names in tests.
Merge pull request #5 from OddBloke/master

Add clamp tests.