Add tests for flash.filters.* and other minor tweaks