added change in et-add for datamethod,added tests for datamethod