Added Unit Tests to String Validator