#1228 Ashok|Kavitha Added spec for setting the default locale