db unit tests changed default host into 127.0.0.1
tests bugfix