Fix multiple spaces in validate parameter seperator

Added a check if there are too many spaces in parameters and associated tests. Not sure if i'm doing this right haha.

Separated the commits of moving the test to the correct path to make the diff simpler but maybe it shows it clearly anyway.