Test for creating csdl from obj.