tweaked api_test timing