test obj with material