improved functional tests in community block plugin