Convert tests to casper API (WiP)

This converts us over to using the casper 1.1 api directly and removes the abstraction layer.