As mentioned here in documentation, when using JDBC URL to initialize database, name is ignored and defaulted to test. Some times it is required to specify the database name.
Please make JDBC drivers to honor the database name set in the URL.
For example, jdbc:tc:mysql://somename:someport/library?TC_INITSCRIPT=library_db.sql should initialize a database named library and not test.