Unit test correction