Test ruby method: vairable parameter, mutilple return value