Test for filter_availability