Some tetras will school to a certain extent but i think 2 glolites is too little for that to work, 6 is the minimum for tetras in the majority of tanks but if your tank is 30gals or larger you will have to opt for more than that. Tetras school because they are small fish and in their natural habitats, are preyed on but practically every single fish, so they shoal together for security and even if you don't have anything that poses a threat to your tetras in your tank, schooling is so instinctive for them they will feel stressed not having enough of their own kind around.