Added assembly attribute to expose internal types to unit tests. Added unit test of an internal type.