Added string::substr, other string methods. Tests extended