validateParameterSeparator: fix for multiple spaces between parameters

When there are multiple spaces between parameters, throw an error
until it matches the specified seperator value.

Fixes #701
validateParameterSeparator: moved test to correct path