fix warning tests