Adding initial tests for contributor utils.

Prepping for fixe for #37 by adding some tests around existing code that could be causing the problem.