add unit tests for rootscope destroy gc leak