Get rid of test warnings. Use TESTS compiler flag to enable testing.