Working sync layer and rendering subviews
Updated tests