Add Usage and API
Add tests for onprocessinginstruction and ontext