Add test for model which does not have sequence field as primary key