simulated cas operations and tests