testing preliminary apirequest handling framework