Added test coverage to getConstructor() calls and fixed latent bug in the String version.