Started adding some tests.