added tests for image and spellchecker

modified replace methodsin spellchecker
Merge pull request #6 from acabhishek942/master

added tests for image and spellchecker