Working on three tests, all failing  because of global variable issue