Restructured unit tests into behavioral and structural tests.