improved some tests bases on strings