Fenced test_multiple_paths for sam test

Fenced test_multiple_paths to allow only specific sam entities when server runs in sam mode
s/' '/''