May be better to have similar args for get_ and set_ methods. Change set_ methods to take test_id instead of analysis?