tests for reindexing on building save