test coverage for faction::name

I have plans to use and change this function
make faction::name private
dynamic memory allocation for faction::name
make faction::addr private

reduce memory footprint of factions