"""Logic tests."""