Refactor request object stub
A bit of coding standard fixes
Constructor refactor and api end point test cocverage
Merge pull request #2 from desmondmorris/1-request-mock-tests

Request mock and resources tests