Adds fixes to asserts in ApplicationIT.