Added unit test to cover untested branch. (#384)
Added unit test to cover untested branch. (#384)

* Added unit test to cover untested branch.

ministryofjustice/apvs-external-web,ministryofjustice/apvs-external-web,ministryofjustice/apvs-external-web