Tests for UnaryProcess class