"""Logic unit tests."""