always apply class form-control to the toggle button
added test code