add test getresources by availability