Add unit test for tricky markdown combinations