Revert "Fix integer narrowing warnings in tests."

This reverts commit 173ad74d3ea137d27f351861b2fc977ee0a3c413.