Also add a test to validate the knowledge of the emoji picker function about flags position Closes #13715