Add array class and testing case for it.