Minor cleanup to InputTest and TextureTest.