Fixes for ApplicationIT tests