1. Fenced test_multiple_paths to allow only specific sam entities when server runs in sam mode

2. Added the server mode information to the entity meta data as per the review comments.
3. Updated skip_if_sam function name