new style
add record context and route checker for test