Testing communication with embedded derby database