ENG-4284 fix negative function test