adding exception propagation and processing inside dynamic tests