Fixes #149 as reported by @benfry.
In response to https://github.com/processing/processing4/issues/149, adding tests to catch issues with smooth and noSmooth in the preprocessor. Issue found by @benfry.