added tests and refactored incorrect docstrings

as a nice bonus, we don't need to wait a fixed number of seconds to see if the server started, we have webclient for it (launch ./web2py.py --run_system_tests and enjoy ~10 seconds less of wait time ^_^)