fix warnings
Tests: fix