Added test to check triggering a reduction with a script without variables