testing string methods