Add, remove and select record by ID with test

Only for ObjectTypeTable for now