nested templates test fixed (2)