Adding tests for cas with and without reply