Add context to test requests

The current API doesn't provide for including context when testing filters.  This is important for testing filters in isolation that may depend on context set elsewhere.