Tests for transactions filtering