resolve unit test warnings