test: move mocks from test_mysql to test/setup