add tests for rtm.test.echo, some refactoring in DataContainer