"""logic unit tests."""