Unit test corrected to check CONSTRAINT, sqlite adapter has been corrected