testing a memory leak with the ResourceWatcher plugin - relates #390