Added integration tests for SqlServerStorage & SqlServerFetcher

Fixed some internal errors.