Refactored Person Repository and add integration tests