fixed DataConstraintTest
removed duplicates
updated phpunit api