typo
Added tests.