generate header tester for on_first.hpp