Refactored warp_filter_test to allow reuse by external tests. Change-Id: Id32a6a21ffda48ef16b027b55f9082614f389003