Created unit tests for NamedEntity so that its properties don't have to
be checked in every child class. Renamed unit test packages.