Test of substr fix