test(unsafe filter): add coverage for unsafe filter