Add test for replacing profile builder