Added regression test
Removing spaces
Correcting mispeling