test rebuilding