Added tests
Fixed typo