Fix to state/apiserver/uniter_test as requested by davecheney

No longer cares what order Actions arrive in.
why not `len(swResults.Results)` instead of introducing a new var?