Fix error msg for processSpec, add test
Add default options. Add tests for Shape constructor