Testing of rubber and plastic