tests are in a safe state. refactoring emit stub for multiple arguments