Replace calls to System with a dedicated IO service
Remove test suite from source code