ENH: Added tests.