added test cases for duplicate _key insertion