Added tests for #3981 - Slider label ID gets overwritten
Tests for Issue #3981 and PR #4433
Fixed some minor issues with the slider tests
Added messages to tests.
Changed test to check exact value of id instead of existence.
Changed var names to better reflect what they are.