added test to verify handler filter behavior