change how default arguments for spec are initialised

The getTestArguments() is only supposed for unit tests, do not use it anymore.
Merge pull request #4073 from hufnagel/spec-initarguments

change how default arguments for spec are initialised