Test remote database