Add tests for the spec edit command