uncomment useless tests and refactor app init