fixing 2 tests, with changing this to casper