Improves documentation of assert and subprocess