refactored person test