Testing api requests