added tests... fixed string n