Fix unneeded spaces in cookbook.rst & add tests for smax/smin & join