diff --git a/CHANGELOG.md b/CHANGELOG.md
index d7e5fa48923dd3c9e993ff8de747c815ff6b9ae9..9e09fb7ecb067d81cc4747768227caccfb65f485 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1 +1,3 @@
 # v2.18.11
+
+* unit tests migrated to CircleCI
diff --git a/README.md b/README.md
index 6e7933dbdf79f9f24bafe12116b3526a838f328c..542be0fa4346a5e9bbdbdfd2fd662458480b1ef6 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 satella
 ========
-[![Build Status](https://app.travis-ci.com/piotrmaslanka/satella.svg?branch=develop)](https://app.travis-ci.com/github/piotrmaslanka/satella)
+[![Build Status](https://circleci.com/gh/piotrmaslanka/satella.svg?style=svg)](https://app.circleci.com/pipelines/github/piotrmaslanka/satella)
 [![Test Coverage](https://api.codeclimate.com/v1/badges/34b392b61482d98ad3f0/test_coverage)](https://codeclimate.com/github/piotrmaslanka/satella/test_coverage)
 [![Code Climate](https://codeclimate.com/github/piotrmaslanka/satella/badges/gpa.svg)](https://codeclimate.com/github/piotrmaslanka/satella)
 [![Issue Count](https://codeclimate.com/github/piotrmaslanka/satella/badges/issue_count.svg)](https://codeclimate.com/github/piotrmaslanka/satella)
diff --git a/tests/test_coding/test_structures.py b/tests/test_coding/test_structures.py
index 4e6a6fe1bb4f0706988b1b87c2014d5f53feb085..9373b5ec83608eba0589357fccdcdd7e552305d1 100644
--- a/tests/test_coding/test_structures.py
+++ b/tests/test_coding/test_structures.py
@@ -523,8 +523,9 @@ class TestStructures(unittest.TestCase):
             def __init__(self, v):
                 self.v = v
 
-        self.assertTrue(repr(Test2(2)).endswith(
-            'test_coding.test_structures.TestMisc.test_reprable_mixin.<locals>.Test2(2)'))
+        self.assertEqual(repr(Test2(2)),
+                         'tests.test_coding.test_structures.TestStructures.' \
+                         'test_reprable_mixin.<locals>.Test2(2)')
 
     def test_proxy(self):
         a = Proxy(5, wrap_operations=True)
diff --git a/tests/test_instrumentation/test_metrics/test_metrics.py b/tests/test_instrumentation/test_metrics/test_metrics.py
index df00b53979a20bcee261f072d869e0cd4ff0c116..4efd64f03240a2023e6e6a73554fb0422cf07c39 100644
--- a/tests/test_instrumentation/test_metrics/test_metrics.py
+++ b/tests/test_instrumentation/test_metrics/test_metrics.py
@@ -4,6 +4,7 @@ import time
 import unittest
 
 from satella.coding.sequences import n_th
+from satella.coding.transforms import is_subset
 
 from satella.exceptions import MetricAlreadyExists
 from satella.instrumentation.metrics import getMetric, MetricLevel, MetricData, \
@@ -13,8 +14,13 @@ logger = logging.getLogger(__name__)
 
 
 def choose(postfix: str, mdc: MetricDataCollection, labels=None) -> MetricData:
+    labels = labels or {}
+    print('looking for', postfix, labels)
     for child in mdc.values:
-        if child.name.endswith(postfix) and child.labels == (labels or {}):
+        print('amongst', child.name, child.labels)
+        if postfix and child.name.endswith(postfix) and labels == child.labels:
+            return child
+        elif not postfix and labels == child.labels:
             return child
 
 
@@ -103,7 +109,7 @@ class TestMetric(unittest.TestCase):
         metric.runtime(1)
         metric.runtime(2.6)
         metric_data = metric.to_metric_data()
-        self.assertEqual(choose('', metric_data, {'le': 2.5, 'ge': 1.0}).value, 1)
+        self.assertEqual(choose('', metric_data, {'le': 1.0, 'ge': 2.5}).value, 1)
         self.assertEqual(choose('sum', metric_data).value, 3.6)
         self.assertEqual(choose('count', metric_data).value, 2)
 
@@ -112,10 +118,10 @@ class TestMetric(unittest.TestCase):
         metric.runtime(1, label='value')
         metric.runtime(2.6, label='value')
         metric_data = metric.to_metric_data()
-        self.assertEqual(choose('', metric_data, {'le': 2.5, 'ge': 1.0, 'label': 'value'}).value, 1)
+        self.assertEqual(choose('', metric_data, {'le': 1.0, 'ge': 2.5, 'label': 'value'}).value, 1)
         self.assertEqual(choose('sum', metric_data, {'label': 'value'}).value, 3.6)
         self.assertEqual(choose('count', metric_data, {'label': 'value'}).value, 2)
-        self.assertEqual(choose('total', metric_data, {'le': 2.5, 'ge': 1.0}).value, 1)
+        self.assertEqual(choose('total', metric_data, {'le': 1.0, 'ge': 2.5}).value, 1)
         self.assertEqual(choose('total.sum', metric_data).value, 3.6)
         self.assertEqual(choose('total.count', metric_data).value, 2)