updated messageExtension added tests