Added script to generate test database.
Retrieved AppId from config. Disabled reconnect after beforeonclose event.
Improved actor resolution.
Minor test fix using getTestUser instead of getPredefinedTestUser