Added test for mark-as-completed command