Add missing test for min/max tab width limitation in TabLayout

And refactor the existing two tests to use a common configurable
method.

Change-Id: I834915378f925b3843479df0191da5881477c2f3
1 file changed