Further testing

Continued writing tests for the persons controller. The tests showed me that the code could be improved, so I did - Really starting to see the value of testing here!