3621: Tidy up test code
3621: Tidy up test code

Authors: fe2bd24f4466fa17c8a16b1a93c4a502fb63c949@lloydnye

alphagov/verify-frontend,alphagov/verify-frontend,alphagov/verify-frontend,alphagov/verify-frontend