Updated lowercase functions and added an individual segment test function