adding some range tests
minor test refactorings
removing import to avoid running the tests twice
Merge pull request #5 from mriehl/master

Refactored tests, added range tests