BF+ENH: fix typo
BF+TST: use {s,f}dim instead of dim, and add doc test to check for this