Added test for spaces in event