More tests when constructing Parsed*Function

The whole point of parsed functions is to allow users to change the string contents at run time, so there's no way for us to guarantee that those strings will be valid; we should be making those tests even in opt mode.

This should fix #393