Fixed input validation of `make_eeg_layout`

I fixed a typo on the input validation and added some unit tests
to check the input validation logic.