updated tests for case if there is no devices avalivable