MICA-978

Added Test connections on studies, fixed the format result table firmat after a cross table query