[ci skip] WIP
[#72291628] Changed specs to use object creation methods

Signed-off-by: Martha Berner <marthaberner.mb@gmail.com>