test: add submission tests for app middleware and inference logic to fix coverage 2ef7f43 ArshVerma commited on Apr 7