Testing of the Behaviour of NiTi Shape Memory Alloy