Added tests for factories of controller plugins and view helpers