small update to css for rich text and added tests