Fix the constructor tests, make tests pass under --strict.