Test codes and add annotation.