Fixed a problem with delete functionality on person's page; created tests to make sure it worked; also fixed a couple of broken tests