Turn path to filter into variable for tests

Change-Id: I4484a77bf31aa3fad0a297c36ac64895c6695568