Hello, Mr. Micawber!
Is it really possible to say, "John had been resting this morning, but now he is working hard"?
I would say one of these:
John was resting this morning, but now he is working hard.
John was having a rest this morning, but now he is working hard.
John rested this...