String extensions testing

added tests for string extensions, also fixed some of them