fix #2: add equals() and hashCode() for Arrays
add tests to verify the correct method is used