Fixed assert.equals bug for arrays