Nanomechanical fracture-testing of thin films