Add spec for custom processor. Closes #11