Improve <br> ref test