implemented isBetween/tests