alert to test function