more standard use of assertEqual in array tests