Suppress unchecked warnings for unit test.