fixes mysqli issue with unit tests