added stale trade test function