Incorporate bug code into the functional unit test.