Only include test code if building with Testing enabled.