Uncover hidden problems before buying a home in Massachusetts