style: use :'' instead of :""
spec: improve function specs