Strict warnings in the unit tests. This commit needs to be carefully reviewed.