refactor: use Map instead of Array
test: add test file for personnel