restore building test