testing whether postToComment() is being called with an alert box