"""Unit tests for portfolio management."""