Seperate job helper methods

As of now the same level of service is not available in Junit 4 style tests. Job untility functions in PluggableActivititest case  are among them.
I have seperated them,  put them in a helper function and have created a sample to show how it could be used.