refactored doc building tasks
broke out and fleshed out doc for running tests