adding assertion before requests are made