Wrote unit tests for System