Refactoring casper tests to use waitFor... instead of wait
Changed Hookable test