add unit test for nvidia reduction