correctly call listActionInfos with no max.
Check we have unique transitions.
we now have transitions not states.
reflect change in correct call to listActionInfos
fix tests