fix spec to new behaviour of params