Fenced test_multiple_paths for sam test

Fenced test_multiple_paths to allow only specific sam entities when server runs in sam mode
This lookuop will fail if `server_mode` is not specified.