patched broken unit test