Began writing a test php file to test the methods in API.php