Added test cpp for formattings based on locale