Solved most of test case issue with routing/filters.

Signed-off-by: crynobone <crynobone@gmail.com>