ValueParser QUnit tests: Renamed getObject to getConstructor

Change by H. Snater. Ported from https://gerrit.wikimedia.org/r/#/c/102091/
Merge pull request #4 from wmde/renamevptest

ValueParser QUnit tests: Renamed getObject to getConstructor