Added equality tests for array and hash