Add tests for insert