Fix server build

Fixed tests, error messages loading, deployer configuration.