Just empty actions first, no need to do it in each case
Console isn't used now we've got setTimeout hack
Be more precise when checking correct counts
Pick up errors in unittest