add unit tests for single study and multi-connections