Some work on mocks for unit tests
Fedora mocking stuff