[fix] implement proper tag filtering
[test] add tests that pass tags