Add tests for #center_text