Fixed unit tests
Fixed config files and deployment profiles