refactor integration tests to use casper