Add dielectric-capacitor-1d test.