learn: Correct example in nicira-ext.h and add examples as test cases.