Fixed bug in test_api command