Fixed defect with the test stub generation.