Refactored PublishWorkFlowChecker to use Request injection service

- Also tried to make test more understandable
Factored out Request object
Merge pull request #40 from dantleech/set-request

Refactored PublishWorkFlowChecker to use Request injection service