Add unit tests around the DlxLib events