testing the checkllist with arrays