np -> numpy
Add tests for reduce functions.

This only adds support for what is currently supported by them.
Their signatures are lies.