RIO-52: Jenkins local deploy

- fixes tests
- jenkins local deploy RIO-52
- fixes more tests