Wrote some tests.