Fix filestat test pass condition.

Pass when all conditions are met, not when any condition is met.