[STORAGE] added additional check for B3 database (mysql) not to be empty
[TESTS] adapted mysql connection test case to work with the new changes