Added CASA mask tests.
Skip tests if not in a CASA environment.