fixed tests and changed doccreatinfo signature