test observatory management fixes

Adjustment of conditionals in get_sites_devices_status and test cleanup