passes some unit tests.