test case for plugin #399