unit tests db setup updated to host 127.0.0.1
db driver pdo_mysql bugfix
db driver pdo_sqlite bugfix