Adds initial Defect Tracker unit tests.
Merge commit 'b3340bdc6075683bd30be339a61211a7c40d90ce' into HEAD