add oid insertion test; fix compilation