Breaking a circular build dependency in test code