Initial App Identity tests.
Fix code style.
Remove isRuntimeDev / isRuntimeProd, make execution generic.