fixing get version for unit and integration testing

binary.version and configuration.version aren't always set, which is
needed by the ui testes that get the home page