add test and array solution