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 so make the diff simpler.