added object manipulation helpers for tests