why api testing is necessary