Added unit tests for reduxeRight and foldr