TST: Add tests and document whats_new.rst