refactor(este.string): add some tests and remove unused methods subs and subsOrNull