added tests for application module and added more integration tests in core module See merge request !38