updated tests to use actual arrays in asserts