Applied constructor tests to the NpcTest class.