app loading, unloading, reloading and tests