fix warning with tests