Finally spaces are allowed in tags

Found some bugs about spaces in tags while
refactoring the tests