- Fixed test to accurately test the problem and patched the code to make it work.