Make sure master bpm value gets set when a new master is activated.
Fix broken assignment in mock backend.
Initialize a default sample rate in Internal Clock so it's available during testing.