Removes redundent tests, and fixes tests in ApplicationIT.