Jhbate/integration tests

Add integration tests based on learnings from messaging API