clean up processLocalCommands() test