Wrote unit test for source.