Add tests for the nbgrader commands