Rearranged the code in the service scheduler tests and commented out the debugging code.