Added test for ruduce with workaround of bug: https://typescript.codeplex.com/workitem/1960