fixing broken tests
Merge pull request #44 from ministryofjustice/APOLLO-1769

fixing broken tests. merging in so I can fix broken build. Will keep branch so we can improve if need be.