location command, updated tests