Removed uniqueness restriction.
dded tests for ArrayMap implementation.