add config based callback to allow pre & post test procs