Add api_test to `make test`
Fix broken test due to addition of field