Fixing all casper tests except registration and rest