added locale option in test cases