pass test by creating the isRunning variable