Added submission logging with test.