Added unit test for gradient clipping, switched from squared clipping value to normal clipping value