Workaround for functional tests