add filters if env is test or local