Fixed docstring too long and assertion too long in SampleArm tests.