test(toast): add test for rootElement class