Added tests for Name struct + package db