added test for packing hash to dsn
fine details in parsing and unparsing dsn