Test graph by Miranda