Added test for DDLUTILS-179: Output trunked when using the method write(Database, OutputStream) of DatabaseIO