Fixed wrong mysql libraries being used in the tests