allow a function as test
allow functions and matches on headers
2.1.0