DataFrame validation and []= tests.