Discussion integration tests

End to End integration tests added for Discussion 
pull out diplication