Add test for discussion

@jinpa have a look?