Factor contact creation.
Abstract contact count.
Drop empty tearDown.
Rewrite ghost contact exclusion check in unit test format.