Fix warnings when compiling TestProject.