add alert test for standalone script, take 2