added test for insert to check behaviour