Run test with warnings enabled