add test for readonly richtext