tests for normalize
cfg can be just a function
trying out eslint