Fixed a test that was failing due to code upgrade