added test cases

Test cases added to check to see if $gt, $lt, $lte work as intended. Additional test cases were added to make sure that the functions are not called if the criteria is not met.