implement parameter functions for midgard_object + testcases