added availability sort test