added test for CORE-1878