TRQ-2892: Fixed unit tests.

Conflicts:

	src/resmom/test/mom_server/scaffolding.c
	src/resmom/test/start_exec/scaffolding.c
	src/server/test/svr_jobfunc/scaffolding.c
	src/server/test/svr_movejob/scaffolding.c