Start unit tests

Add declarations for -testInit and -testMain.