Renamed inline function for clarity (getting mysql on node_2)
Separate test for moving postgres
Return postgres connection from inline function