Add unit tests
Fix empty replace source bug
Update docs
Minor typo fix and prepare 1.1.3 release