Fix compilation warning and test miscompares.


git-svn-id: svn+ssh://svn.cern.ch/reps/atlasoff/Control/AthenaServices/trunk@551009 4525493e-7705-40b1-a816-d608a930855b