fix bit doctests
allow importing server modules during tests
Merge branch 'refs/heads/fix/request-doctests' into develop