Testing of building materials and structures