WIP fix connection var_dump output and test