(clean) added test cases for ranges

On first glance I was confused why `clean('~1.2.3')` wasn't working and had to do a search.

I added test cases to reinforce the way `clean` works

See item #58