Add test for building create - fixed bugs