complete implementation and test methods for all insert methods