Fix Broken unit test