diff --git a/unittest/python/test_user_type.py b/unittest/python/test_user_type.py
index 83804208b22f995c8c8e2a086003eadf19b8c90b..bcdf78e121b3c6e4e7560c144129e8c417e4df8b 100644
--- a/unittest/python/test_user_type.py
+++ b/unittest/python/test_user_type.py
@@ -10,6 +10,11 @@ def test(mat):
   assert (mat == mat_copy).all()
   assert not (mat != mat_copy).all()
 
+  mat.fill(mat.dtype.type(20.))
+  mat_copy = mat.copy()
+  assert((mat == mat_copy).all())
+  assert(not (mat != mat_copy).all())
+
   mat_op = mat + mat
   mat_op = mat.copy(order='F') + mat.copy(order='C')