added unit tests for submission handlers