Updated the tests so that it passes now

As far as I know, it doesn't matter if dbname is listed before host or port. Could someone verify?