Unit test for descart operation