add alert test for standalone script