Fixed broken unit test