Tests of functionals for systems with fractional electron number.