TST check error is raised on 1d input
FIX doctest with 1d input