Get rid of unit test warnings