adding a filters test

this ensures that the behavior of creating links won't totally be
broken in refactoring.

Change-Id: Ida5f1d71475f43d06c7c3cc54d6434a7b552d0c5