Add Orchestra\Foundation\Application::setup() and fix some testcase.

Signed-off-by: crynobone <crynobone@gmail.com>