test for be_between method