Eradicate `new` from tests, src, and examples. Fixes #309