Added PersonGatewayTest class for testing PersonGateway and refactored
some things in PersonGateway and DataBaseConnectionTest.