Allocate data just in case when xmp_create_context() is successful
Fix sizeof() decrement
Don't use a separate allocation. Update tests.
Initialize xmp to NULL for xmp_free_context. Update tests.
No need for this file to be executable