Wrote up some tests