test for command function
merged with spacing