Add set location test command.