simpler unittest with basic usage