test_sanity: print back-end id
Fix ALSA implementation of get_preferred_sample_rate (snd_pcm_open was always returning -2 otherwise)