test wrapper and alert