Redmine#3814: add simple harness for promise plugins and a test to use it