Added dist config file for tests.
Changed Queries package to Core.
Tests for Connection.