[#33] get_connection test
[#33] refactor get_connection test