add default values to building.
add test spec for building.