Adding sphinx folders necerary for docs
fixed a couple of bugs in the testing generators