Add tests for confirmation