Add locale dependent tests with macro