Remove SAM code from the test and remove related dead code Reviewed-by: iignatyev
Reviewed-by: erikj, mseledtsov, vlivanov