improved unit tests related to submission handler