Little fixes in isFuture test
isWithinRange (closes #11)