add test for building prob