Fixed a compile-time error. Added tests root.