Add tests on application & platform switching