JCLOUDS-458: Addressing suggestions in PR-31

minor changes


@nacx 
it is replay method that actually test the code.
http://stackoverflow.com/questions/5987149/not-able-to-understand-the-use-of-easymock-replay. 
was that the missing point?  or should I recheck?