Update APITest.php