Queen Elizabeth II spent night in hospital for tests: palace