helpers tests