Add test for CAS-1378