test constance with test.check