Fix erroneous call in test case (which was causing tests to fail)