MNT: doc string formats, error raising, and kwarg order per comments in PR
MNT: test class names (capitalized) and trailing spaces