fixes in test:is_array(); add test cases for Test class