Fix tearDown sample code

The variable used was a SampleRepository while it should be a Sample. 
Cheers