Prepared structure and tests for MySQL database