test to expose 'Maximum call stack size exceeded' exception