Added nested variance tests.