Add test structures for Sources properties.

This includes basic fixtures and tests for the kernel sources objects.
It only covers one property now with more on the way.  As well as a
refactor of the directory_name property.