Fix some TestConstraints unit tests running on Sqlite when they shouldn't