Added a callable to test_apply.cpp