Refactor param format passing/testing.