added test for second time build