Issue #307 - Downport the test for InputBehavior from bootstrap3 branch