use functions instead of vars in multi method listeners

- on... = { ... } => on... { ... }
- add multi method listeners test
- update testdata