Introduced unittests
Added test_connection command