Fixed some incorrect unit tests.