Unit tests. Cleenup.