add test case to array based list