fix ship_testing.cpp bug(AWS)