Add unittests bug #12889