change how default arguments for spec are initialised

The getTestArguments() is only supposed for unit tests, do not use it anymore.