- fixed tests compilation
- made signals from model be emitted in correct order