refactor Unit Tests for Insertion Test