add test for unquoted attrs
cleaner and more efficient