PCT-671: add test on real mysql
PCT-671: fixes and tweaks to made it working with web-app