added filter testing to examples