Fixes to get tests working for NuoDB.