Fix ctest expression for databroker version output and add endline to the actual version output