Fixed clear unittests