Added cmake call for casablanca. Added error messages and test for casablanca.