Moving hasParams function to runnerSpec