nested templates test fixed (3)