newState fn now supports only passing a single argument (state name) if a function in the test body is defined with the same name