Add helper to wait for ajax requests to complete
Add comment to clarify test failure related to bug