Remove unneded type signatures in tests.