Fix for DBO exception during tests