Add tests for process_inline and fix some issues
Reduce number of tests that need to be run