Add libmysqlclient loading error handling
Rename test database
Add 'make test'