changing api testing procedure