added helper functions api (helpers.h and helpers.cpp) with ips_check_params interposer in ips_pretest