Remove context of ajax call
Use config to get default waiting time in tests
New trigger service event on resolve