Updated specs to handle root_path variable