Terranova, Acadia acquire three buildings in $52 million deal