Made a test case more robust by using a single array instead of two of (normally) equal length.