load tests file before doc section of package

... because the documentation section isn't loaded if the installed
package is found (with its documentation database file), but this
particular tests file defines a function needed by the tests