Looks like the added test are basically the same as the original app deployment tests.
Can you find a way to reuse the same code to avoid duplication?