Increased test coverage for facts

Increased test coverage for facts also added the unit attribute to other tests.