use user id when auto updating instrument status after the run status update since the username can be undefined; remove duplicate tests; add test to demonstrate whether the current run status has been changed since the instrument status update sometimes fails