Changes to APITest.cs