tests - Moving steps to globalTestSteps and global functions to globalFunctions