on the ui search functionality works but not passing in the tests. also creates model tests for .available_between method