Simplify capabilities test in application types controller

The capabilities test in application types controller test is too sensitive to
the actual values on the session, we need to make it cleaner.

[merge]