run tests before building documentation