Adding tests covering filter behavior.