test for spaces in labels