add some tests for LocalTextRegistry