fix layout for test with more than 9 items

http://forge.taotesting.com/issues/3223