"""Unit tests for logic."""