remove -Wno-unused-result from test compilation commands