creating object unit tests