Add test for index scales. Allow 1 as a valid index scale, disallow the incorrect scale of 0.