fixing tests.
removing a warning.