extended generate unit test