BUG: fix incomplete renaming of tools/ to _tools/
Adding tests for wp.rst